regular expressions

Hello,

The objects texts of my requirements begins with " : " (space + : + space).
I want to delete so the object text starts with the real text of the requirement.

Ex :
I have this : " : My requirement is..."
I want this : "My requirement is..."

How can I do that using Regexp?

Thank you
jlnddn - Wed Mar 21 06:09:20 EDT 2012

Re: regular expressions
PDU - Wed Mar 21 11:43:23 EDT 2012

Hi,

replace "^ : " (without the ") with nothing.

^ = start of line.

Pierre

Re: regular expressions
jlnddn - Wed Mar 21 12:47:18 EDT 2012

PDU - Wed Mar 21 11:43:23 EDT 2012
Hi,

replace "^ : " (without the ") with nothing.

^ = start of line.

Pierre

When I do CTRL + F and I check regular expression with replace "^ : " (without the "") with nothing it doesn't work.

Re: regular expressions
PDU - Fri Mar 23 02:44:32 EDT 2012

jlnddn - Wed Mar 21 12:47:18 EDT 2012
When I do CTRL + F and I check regular expression with replace "^ : " (without the "") with nothing it doesn't work.

Strange,

works fine for me, with DOORS 8.3 and DOORS 9.1.

Pierre

Re: regular expressions
llandale - Fri Mar 23 12:06:44 EDT 2012

jlnddn - Wed Mar 21 12:47:18 EDT 2012
When I do CTRL + F and I check regular expression with replace "^ : " (without the "") with nothing it doesn't work.

... you mean the Replace dialog?
... making sure "Object Text" is selected in the attribute list?

Re: regular expressions
jlnddn - Fri Mar 23 12:33:43 EDT 2012

llandale - Fri Mar 23 12:06:44 EDT 2012
... you mean the Replace dialog?
... making sure "Object Text" is selected in the attribute list?

Yes I meant the Replace dialog?
I selected "Object Text" in the attribute list?

Re: regular expressions
llandale - Fri Mar 23 14:09:41 EDT 2012

jlnddn - Fri Mar 23 12:33:43 EDT 2012
Yes I meant the Replace dialog?
I selected "Object Text" in the attribute list?

Well it worked for me. Perhaps the front of the text isn't exactly [1]space[2]colon[3]space. Do a non-regexp search for those 3 characters.